package com.sandbox.search;

public class SearchResult {
    private String filename;
    private String highlightedFragment;
    private float score;

    public SearchResult(String filename, float score) {
        this.filename = filename;
        this.score = score;
    }

    public void setHighlightedFragment(String highlightedFragment) {
        this.highlightedFragment = highlightedFragment;
    }

    public String getFilename() {
        return filename;
    }

    public String getHighlightedFragment() {
        return highlightedFragment;
    }

    public float getScore() {
        return score;
    }
}
